<div class="headerFloat">
	<script>
		$(document).ready(function(){
			$('.topCat .title').click(function(){
				var element = $(this).parent()
				$(this).next().slideToggle();
				if(!element.hasClass('topCatHover')){
					element.addClass('topCatHover');
				}else{
					element.removeClass('topCatHover');
				}
			})
		})
		
	</script>
	<div class="topCat<?= $is_home ? ' topCatHover' : '' ?>">
		<div class="title">
			<div><?= isset($catalogue) ? $catalogue->info[$lang]->name : lang('home_catalogue_list') ?></div>
		</div>
		<div class="content"><ul style="padding:0 0 10px" class="categoryDeals2">
				<? foreach ($catalogues as $cat) { ?>
					<li style="padding-top:0" class="<? if (isset($catalogue) && $catalogue->id == $cat->id) echo 'active'; ?>">
						<a class="fixPNG" href="<?= url_create('site', 'ViewCatalogue', 'index', $cat->id) ?>"><span><?= $cat->name ?> (<?= $cat->p_amount ?>)</span> &nbsp;</a>
						<div class="c"></div>
					</li>
				<? } ?>
			</ul>
			<div class="c"></div></div>
	</div>
	<? if ($is_home) { ?>
		<div class="box-frame box-suport">
			<div style="background-color:#fffdf0" id="box-suport">
				<div class="onlineSupport">
					<span>Hotline</span>
					<div>(04) 73068386</div>
				</div>
				<div class="onlineSupportemail">
					<a href="mailto:contact@muachung.vn"><img style="vertical-align:middle" src="http://muachung2.todo.vn/style/images/version6/boxmenu/email.png">&nbsp;&nbsp;contact@muachung.vn</a>
				</div>
				<div class="onlineSupportemail mTop5">
					Thứ 2 - Thứ 6: 8h - 18h<br>
					Thứ 7: 8h - 12h
				</div>
			</div>
		</div>
	<? } ?>
	<div class="bottomsupport"> </div>	 
</div>